Optimal. Leaf size=119 \[ \frac {4}{3} d (b d+2 c d x)^{3/2}+2 \left (b^2-4 a c\right )^{3/4} d^{5/2} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )-2 \left (b^2-4 a c\right )^{3/4} d^{5/2} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {706, 708, 335,
304, 209, 212} \begin {gather*} 2 d^{5/2} \left (b^2-4 a c\right )^{3/4} \text {ArcTan}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-2 d^{5/2} \left (b^2-4 a c\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )+\frac {4}{3} d (b d+2 c d x)^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 706
Rule 708
Rubi steps
\begin {align*} \int \frac {(b d+2 c d x)^{5/2}}{a+b x+c x^2} \, dx &=\frac {4}{3} d (b d+2 c d x)^{3/2}+\left (\left (b^2-4 a c\right ) d^2\right ) \int \frac {\sqrt {b d+2 c d x}}{a+b x+c x^2} \, dx\\ &=\frac {4}{3} d (b d+2 c d x)^{3/2}+\frac {\left (\left (b^2-4 a c\right ) d\right ) \text {Subst}\left (\int \frac {\sqrt {x}}{a-\frac {b^2}{4 c}+\frac {x^2}{4 c d^2}} \, dx,x,b d+2 c d x\right )}{2 c}\\ &=\frac {4}{3} d (b d+2 c d x)^{3/2}+\frac {\left (\left (b^2-4 a c\right ) d\right ) \text {Subst}\left (\int \frac {x^2}{a-\frac {b^2}{4 c}+\frac {x^4}{4 c d^2}} \, dx,x,\sqrt {d (b+2 c x)}\right )}{c}\\ &=\frac {4}{3} d (b d+2 c d x)^{3/2}-\left (2 \left (b^2-4 a c\right ) d^3\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d-x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )+\left (2 \left (b^2-4 a c\right ) d^3\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d+x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )\\ &=\frac {4}{3} d (b d+2 c d x)^{3/2}+2 \left (b^2-4 a c\right )^{3/4} d^{5/2} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )-2 \left (b^2-4 a c\right )^{3/4} d^{5/2} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.21, size = 214, normalized size = 1.80 \begin {gather*} \frac {\left (\frac {1}{3}+\frac {i}{3}\right ) (d (b+2 c x))^{5/2} \left ((2-2 i) b \sqrt {b+2 c x}+(4-4 i) c x \sqrt {b+2 c x}-3 \left (b^2-4 a c\right )^{3/4} \tan ^{-1}\left (1-\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )+3 \left (b^2-4 a c\right )^{3/4} \tan ^{-1}\left (1+\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )-3 \left (b^2-4 a c\right )^{3/4} \tanh ^{-1}\left (\frac {(1+i) \sqrt [4]{b^2-4 a c} \sqrt {b+2 c x}}{\sqrt {b^2-4 a c}+i (b+2 c x)}\right )\right )}{(b+2 c x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(256\) vs.
\(2(95)=190\).
time = 0.70, size = 257, normalized size = 2.16
method | result | size |
derivativedivides | \(4 d \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{3}-\frac {d^{2} \left (4 a c -b^{2}\right ) \sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{8 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}\right )\) | \(257\) |
default | \(4 d \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{3}-\frac {d^{2} \left (4 a c -b^{2}\right ) \sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{8 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}\right )\) | \(257\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 602 vs.
\(2 (95) = 190\).
time = 3.62, size = 602, normalized size = 5.06 \begin {gather*} \frac {4}{3} \, {\left (2 \, c d^{2} x + b d^{2}\right )} \sqrt {2 \, c d x + b d} + 4 \, \left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {1}{4}} \arctan \left (\frac {\left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {1}{4}} {\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt {2 \, c d x + b d} d^{7} - \sqrt {2 \, {\left (b^{8} c - 16 \, a b^{6} c^{2} + 96 \, a^{2} b^{4} c^{3} - 256 \, a^{3} b^{2} c^{4} + 256 \, a^{4} c^{5}\right )} d^{15} x + {\left (b^{9} - 16 \, a b^{7} c + 96 \, a^{2} b^{5} c^{2} - 256 \, a^{3} b^{3} c^{3} + 256 \, a^{4} b c^{4}\right )} d^{15} + \sqrt {{\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}} {\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}} \left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {1}{4}}}{{\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}}\right ) - \left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {1}{4}} \log \left ({\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt {2 \, c d x + b d} d^{7} + \left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {3}{4}}\right ) + \left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {1}{4}} \log \left ({\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt {2 \, c d x + b d} d^{7} - \left ({\left (b^{6} - 12 \, a b^{4} c + 48 \, a^{2} b^{2} c^{2} - 64 \, a^{3} c^{3}\right )} d^{10}\right )^{\frac {3}{4}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 354 vs.
\(2 (95) = 190\).
time = 2.36, size = 354, normalized size = 2.97 \begin {gather*} -\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} d \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} + 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right ) - \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} d \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} - 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right ) + \frac {1}{2} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} d \log \left (2 \, c d x + b d + \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right ) - \frac {1}{2} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} d \log \left (2 \, c d x + b d - \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right ) + \frac {4}{3} \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} d \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.13, size = 97, normalized size = 0.82 \begin {gather*} \frac {4\,d\,{\left (b\,d+2\,c\,d\,x\right )}^{3/2}}{3}+2\,d^{5/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{1/4}}\right )\,{\left (b^2-4\,a\,c\right )}^{3/4}-2\,d^{5/2}\,\mathrm {atanh}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{1/4}}\right )\,{\left (b^2-4\,a\,c\right )}^{3/4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________